package mapper;

import POJO.Role;
import org.apache.ibatis.annotations.Param;

import java.util.List;



public interface RoleMapper {

	int insertRole(Role role);
	
	int updateRole(@Param("roleName") String productName, @Param("id") Integer providerId);
	Integer deleteRole(int id);
	
	
	List<Role> getListLimit(@Param("roleName") String productName, @Param("currentPageNo") int currentPageNo, @Param("pageSize") int pageSize);
	
}
